3.1.2 \(\int \sec ^2(a+b x) \, dx\) [2]

Optimal. Leaf size=10 \[ \frac {\tan (a+b x)}{b} \]

[Out]

tan(b*x+a)/b

________________________________________________________________________________________

Rubi [A]
time = 0.01, antiderivative size = 10, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 8, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.250, Rules used = {3852, 8} \begin {gather*} \frac {\tan (a+b x)}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[Sec[a + b*x]^2,x]

[Out]

Tan[a + b*x]/b

Rule 8

Int[a_, x_Symbol] :> Simp[a*x, x] /; FreeQ[a, x]

Rule 3852

Int[csc[(c_.) + (d_.)*(x_)]^(n_), x_Symbol] :> Dist[-d^(-1), Subst[Int[ExpandIntegrand[(1 + x^2)^(n/2 - 1), x]
, x], x, Cot[c + d*x]], x] /; FreeQ[{c, d}, x] && IGtQ[n/2, 0]

Rubi steps

\begin {align*} \int \sec ^2(a+b x) \, dx &=-\frac {\text {Subst}(\int 1 \, dx,x,-\tan (a+b x))}{b}\\ &=\frac {\tan (a+b x)}{b}\\ \end {align*}

________________________________________________________________________________________

Mathematica [A]
time = 0.00, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan (a+b x)}{b} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[Sec[a + b*x]^2,x]

[Out]

Tan[a + b*x]/b

________________________________________________________________________________________

Maple [A]
time = 0.19, size = 11, normalized size = 1.10

method result size
derivativedivides \(\frac {\tan \left (b x +a \right )}{b}\) \(11\)
default \(\frac {\tan \left (b x +a \right )}{b}\) \(11\)
risch \(\frac {2 i}{b \left ({\mathrm e}^{2 i \left (b x +a \right )}+1\right )}\) \(20\)
norman \(-\frac {2 \tan \left (\frac {b x}{2}+\frac {a}{2}\right )}{b \left (\tan ^{2}\left (\frac {b x}{2}+\frac {a}{2}\right )-1\right )}\) \(30\)

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(sec(b*x+a)^2,x,method=_RETURNVERBOSE)

[Out]

tan(b*x+a)/b

________________________________________________________________________________________

Maxima [A]
time = 0.29, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan \left (b x + a\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^2,x, algorithm="maxima")

[Out]

tan(b*x + a)/b

________________________________________________________________________________________

Fricas [A]
time = 2.03, size = 18, normalized size = 1.80 \begin {gather*} \frac {\sin \left (b x + a\right )}{b \cos \left (b x + a\right )} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^2,x, algorithm="fricas")

[Out]

sin(b*x + a)/(b*cos(b*x + a))

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \sec ^{2}{\left (a + b x \right )}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)**2,x)

[Out]

Integral(sec(a + b*x)**2, x)

________________________________________________________________________________________

Giac [A]
time = 0.44, size = 10, normalized size = 1.00 \begin {gather*} \frac {\tan \left (b x + a\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate(sec(b*x+a)^2,x, algorithm="giac")

[Out]

tan(b*x + a)/b

________________________________________________________________________________________

Mupad [B]
time = 0.10, size = 10, normalized size = 1.00 \begin {gather*} \frac {\mathrm {tan}\left (a+b\,x\right )}{b} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int(1/cos(a + b*x)^2,x)

[Out]

tan(a + b*x)/b

________________________________________________________________________________________